package com.wze.wze.Service;

import com.wze.wze.Entity.Music;
import com.wze.wze.Entity.v_music;
import com.wze.wze.Impl.v_musicImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class v_musicService implements v_musicImpl {
    @Resource
    v_musicImpl v_musicImpl;
    @Override
    public List<v_music> getMusicList(int Start, int Page, int id, String MusicName) {
        return v_musicImpl.getMusicList(Start, Page, id, MusicName);
    }

    @Override
    public List<v_music> getUnMusicList(int Start, int Page, int id, int Sid) {
        return v_musicImpl.getUnMusicList(Start, Page, id, Sid);
    }

    @Override
    public v_music getMusicById(int id) {
        return v_musicImpl.getMusicById(id);
    }

    @Override
    public int getMusicCount() {
        return v_musicImpl.getMusicCount();
    }
}
